package com.xyz.business.service.impl;

import java.sql.SQLException;

import com.xyz.business.bean.Enterprise;
import com.xyz.business.dao.EnterpriseDao;
import com.xyz.business.service.EnterpriseService;

public class EnterpriseServiceImpl implements EnterpriseService {
	private EnterpriseDao enterpriseDao;

	public EnterpriseDao getEnterpriseDao() {
		return enterpriseDao;
	}

	public void setEnterpriseDao(EnterpriseDao enterpriseDao) {
		this.enterpriseDao = enterpriseDao;
	}

	@Override
	public Enterprise queryEnterpriseByEid(String eid) throws SQLException {
		
		return enterpriseDao.queryEnterpriseByEid(eid);
	}

}
